// 首页
import axios from '@/api/request/request'

// 保存
const documentList = (option: any) => {
  return axios.get('/document/list', { ...option })
}

// 删除
const documentDelete = (option: any) => {
  return axios.get('/document/delete', { ...option })
}

// 新增更新
const documentSave = (option: any) => {
  return axios.post('/document/save', option)
}

export { documentList, documentDelete, documentSave }
